#ifndef __PIN_H 
#define __PIN_H

#include "system.h"

#define PIN_T       uint8_t
#define PIN_MODE    GPIOMode_TypeDef   
#define PIN_VAL     BitAction

#define PIN_HIGH    Bit_SET
#define PIN_LOW     Bit_RESET


#define USING_JTAGDisable   0

void pin_set(PIN_T pin,PIN_MODE mode);
void pin_put(PIN_T pin,PIN_VAL val);
PIN_VAL pin_get(PIN_T pin);


#endif /*__PIN_H*/

